package com.site.wisdom_construction.service.healthEpidemicModel;

import com.site.wisdom_construction.dao.healthEpidemicModel.AntiepidemicWristbandDao;
import com.site.wisdom_construction.entity.healthEpidemicModel.AntiepidemicWristband;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/5/7
 * @Description
 */
@Service
public class AntiepidemicWristbandService implements AntiepidemicWristbandDao {
    @Autowired
    private AntiepidemicWristbandDao antiepidemicWristbandDao;

    @Override
    public int insertAntiepidemicWristband(Map map) {
        return antiepidemicWristbandDao.insertAntiepidemicWristband(map);
    }

    @Override
    public int deleteAntiepidemicWristband(Map map) {
        return antiepidemicWristbandDao.deleteAntiepidemicWristband(map);
    }

    @Override
    public int updateAntiepidemicWristband(Map map) {
        return antiepidemicWristbandDao.updateAntiepidemicWristband(map);
    }

    @Override
    public List<AntiepidemicWristband> findAntiepidemicWristbandByPage(Map map) {
        return antiepidemicWristbandDao.findAntiepidemicWristbandByPage(map);
    }

    @Override
    public long Total(Map map) {
        return antiepidemicWristbandDao.Total(map);
    }

    @Override
    public List<AntiepidemicWristband> findAntiepidemicWristbandByWristbandStatus(Map map) {
        return antiepidemicWristbandDao.findAntiepidemicWristbandByWristbandStatus(map);
    }

    @Override
    public List<AntiepidemicWristband> selectAntiepidemicWristband(Map map) {
        return antiepidemicWristbandDao.selectAntiepidemicWristband(map);
    }

    @Override
    public AntiepidemicWristband findAntiepidemicWristbandByEquipment(Map map) {
        return antiepidemicWristbandDao.findAntiepidemicWristbandByEquipment(map);
    }

    @Override
    public int countAntiepidemicWristband(Map map) {
        return antiepidemicWristbandDao.countAntiepidemicWristband(map);
    }
}
